$OpenBSD: patch-test_testutils_h,v 1.1 2016/03/06 20:27:24 bentley Exp $
http://bugs.netsurf-browser.org/mantis/view.php?id=2432
--- test/testutils.h.orig	Sun Feb 21 16:09:59 2016
+++ test/testutils.h	Sun Feb 21 16:10:10 2016
@@ -14,10 +14,10 @@
 /* Redefine assert, so we can simply use the standard assert mechanism
  * within testcases and exit with the right output for the testrunner
  * to do the right thing. */
-void __assert2(const char *expr, const char *function,
+void css_assert2(const char *expr, const char *function,
 		const char *file, int line);
 
-void __assert2(const char *expr, const char *function,
+void css_assert2(const char *expr, const char *function,
 		const char *file, int line)
 {
 	UNUSED(function);
@@ -30,7 +30,7 @@ void __assert2(const char *expr, const char *function,
 
 #undef assert
 #define assert(expr) \
-  ((void) ((expr) || (__assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
+  ((void) ((expr) || (css_assert2 (#expr, __func__, __FILE__, __LINE__), 0)))
 
 
 typedef bool (*line_func)(const char *data, size_t datalen, void *pw);
